home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!wap7!west
- From: west@emt.e-technik.tu-muenchen.de (Robert Westendorp)
- Newsgroups: comp.lang.c++
- Subject: Beginner: How to #include
- Date: Tue, 30 Jan 1996 18:32:06 UNDEFINED
- Organization: TU-Muenchen
- Distribution: world
- Message-ID: <west.32.008AC8C0@emt.e-technik.tu-muenchen.de>
- NNTP-Posting-Host: wap7.emt.e-technik.tu-muenchen.de
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]
-
- Hi there,
-
- following problem with hierarchical including:
-
- my_data.h:
-
- #include "picture.h"
-
- class A
- {
- ..
- CPicture m_picture;
-
- ..
- }
-
- my_program.cpp:
- #INCLUDE "PICTURE.H"
- #include "my_data.h"
-
- program code...
-
- How can I avoid to include PICTURE.H in all of my files using
- class A from my_data.prg?
- There are lots of my_programm.cpp and a couple of my_data.h(s)!
-
- thanx in advance!
-
- C. Kellner
-
-
-
-
-